home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / sdk / vfw11.win / vfwdk / ctdev.h_ / ctdev.bin
Encoding:
Text File  |  1993-11-19  |  2.2 KB  |  67 lines

  1. /****************************************************************************
  2.  *
  3.  *   ctdev.h
  4.  * 
  5.  *   Device specific include file 
  6.  *
  7.  *   Microsoft Video for Windows Sample Capture Driver
  8.  *   Chips & Technologies 9001 based frame grabbers.
  9.  *
  10.  ***************************************************************************/
  11. /**************************************************************************
  12.  *
  13.  *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  14.  *  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  15.  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  16.  *  PURPOSE.
  17.  *
  18.  *  Copyright (c) 1992, 1993  Microsoft Corporation.  All Rights Reserved.
  19.  * 
  20.  **************************************************************************/
  21.  
  22.  
  23. #define MAX_SIZE_X_NTSC       640       // These sizes give square pixels
  24. #define MAX_SIZE_Y_NTSC       480
  25. #define MAX_SIZE_X_PAL        640
  26. #define MAX_SIZE_Y_PAL        512
  27.  
  28. #define DEFAULT_SIZE_X        160
  29. #define DEFAULT_SIZE_Y        120
  30.  
  31. #define MAX_COLOR_VALUE       0x3f    // Sets scroll range
  32.  
  33. #define CT_MAX_HUE            MAX_COLOR_VALUE
  34. #define CT_MAX_SAT            MAX_COLOR_VALUE
  35. #define CT_MAX_BRIGHTNESS     MAX_COLOR_VALUE
  36. #define CT_MAX_CONTRAST       MAX_COLOR_VALUE
  37. #define CT_MAX_RED            MAX_COLOR_VALUE
  38. #define CT_MAX_GREEN          MAX_COLOR_VALUE
  39. #define CT_MAX_BLUE           MAX_COLOR_VALUE
  40. #define CT_MAX_ZOOM           8
  41.  
  42. #ifdef _BRAVADO
  43. #define CT_DEFAULT_HUE        0
  44. #define CT_DEFAULT_IOBASE     0x224
  45. #endif
  46.  
  47. #ifdef _VBLASTER
  48. #define CT_DEFAULT_HUE        (MAX_COLOR_VALUE/2)
  49. #define CT_DEFAULT_IOBASE     0x2AD6
  50. #endif
  51.  
  52. #define CT_DEFAULT_SAT        (MAX_COLOR_VALUE/2)
  53. #define CT_DEFAULT_CONTRAST   (MAX_COLOR_VALUE/2)
  54. #define CT_DEFAULT_BRIGHTNESS (MAX_COLOR_VALUE)
  55. #define CT_DEFAULT_RED        (MAX_COLOR_VALUE/2)
  56. #define CT_DEFAULT_GREEN      (MAX_COLOR_VALUE/2)
  57. #define CT_DEFAULT_BLUE       (MAX_COLOR_VALUE/2)
  58. #define CT_DEFAULT_INPUT      0
  59. #define CT_DEFAULT_STANDARD   0
  60. #define CT_DEFAULT_ZOOM       4
  61.  
  62. #define CT_SOURCE0      0
  63. #define CT_SOURCE1      1
  64. #define CT_SOURCE2      2
  65.  
  66.  
  67.